package com.jwds.digital.bios.business.core.infrastructure.entity.belt;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jwds.tdc.framework.database.lib.BaseEntity;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 异常信息
 *
 * @author 林柏云
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("belt_anomaly_info")
@Accessors (chain = true)
public class BeltAnomalyInfo extends BaseEntity<Long> {


    /**
    * 皮带ID
    */
    @TableField("belt_id")
    private Long beltId;


    /**
    * 路线ID
    */
    @TableField("route_id")
    private Long routeId;


    /**
    * 作业id
    */
    @TableField("task_id")
    private Long taskId;

    /**
     * 作业类型
     */
    @TableField("task_type")
    private String taskType;


    /**
    * 是否已解决：0-未解决，1-已解决
    */
    @TableField("resolved")
    private Integer resolved;


    /**
    * 异常项
    */
    @TableField("anomaly_item")
    private String anomalyItem;


    /**
     * 异常项等级
     */
    @TableField("item_level")
    private Integer itemLevel;


    /**
    * 异常说明
    */
    @TableField("anomaly_desc")
    private String anomalyDesc;


    /**
    * 异常时间
    */
    @TableField("anomaly_time")
    private LocalDateTime anomalyTime;


    /**
    * 建议
    */
    @TableField("suggestion")
    private String suggestion;

}
